<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PU2CLR AKC695X Arduino Library: AKC695X/AKC695X.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">PU2CLR AKC695X Arduino Library
   &#160;<span id="projectnumber">1.0.2</span>
   </div>
   <div id="projectbrief">This is an Arduino Library to control the AKC695X / M695X DSP radio devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_a_k_c695_x_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">AKC695X.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_a_k_c695_x_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * @mainpage SI47XX Arduino Library implementation </span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * This is an Arduino library for the AKC695X, BROADCAST RECEIVER, IC family.  </span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * It works with I2C protocol and can provide an easier interface for controlling the AKC695X devices.&lt;br&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * This library was built based on [AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio](http://maximradio.altervista.org/akc6955/AKC6955-datasheet-english.pdf) document from &quot;AKC technology&quot;. </span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Others sources help the author to build this library.  They are referenced in the documentation for this library on: https://github.com/pu2clr/AKC695X</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * It also intend to  be used on **all members of the AKC695X family** respecting, of course, the features available for each IC version. </span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * This library uses the I2C protocols to read and write AKC695X registers. In this context, registers are memory position into the device.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * The first 13 registers, you can use to change the behavior of the device. They are read and write registers. The registers from 20 to 27, can be used to get the current device status. They are read only registers. </span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * There is no information about the register 10 and the registers 14 to 19 in the documentation used to develop this library. </span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * By using the registers 0 to 13, you can change the band, set the frequency, set the channel space, set the audio behavior and volume, set a custom band and more.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * This library can be freely distributed using the MIT Free Software model. [Copyright (c) 2019 Ricardo Lima Caratti](https://pu2clr.github.io/AKC695X/#mit-license).  </span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * Contact: pu2clr@gmail.com</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#</span><span class="preprocessor">include</span> <span class="preprocessor">&lt;</span><span class="preprocessor">Arduino</span><span class="preprocessor">.</span><span class="preprocessor">h</span><span class="preprocessor">&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#</span><span class="preprocessor">include</span> <span class="preprocessor">&lt;</span><span class="preprocessor">Wire</span><span class="preprocessor">.</span><span class="preprocessor">h</span><span class="preprocessor">&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#adb1c3cfb6a6aaf2a5dd1096c31dcb150">   23</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">DEFAUL_I2C_ADDRESS</span> 0x10</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a375ba4a968253cd1628914e7e6ebc40e">   24</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CURRENT_MODE_FM</span>     1</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a2edf821051a85e58efeb2ff3a8e31f21">   25</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CURRENT_MODE_AM</span>     0</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a74c62040d9bf060c6281703c49412772">   26</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CRYSTAL_12MHZ</span>       0</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#abb215e8e082a207ca359cf474bbb4935">   27</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CRYSTAL_32KHZ</span>       1</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#acc98e8d3badddd21bc528451bb718f82">   29</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">MAX_SEEK_TIME</span>   3000        <span class="comment">// Maximum time have to be a seeking process (in ms). </span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> * @brief AKC695X features</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> * @details the table below shows some features fo the AKC695X devices family</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * | Feature                                                                   | AKC6951 | AKC6955 | AKC6959 |  </span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * | --------------------------------------------------------------------------| ------- | ------- | ------- |          </span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * | stand by 30 ~ 230MHz Any frequency FM demodulation                        |   X     |    X    |    X    |  </span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> * | stand by 0.15 ~ 30MHz Any frequency AM demodulation                       |   X     |    X    |    X    | </span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> * | Preset FM band ( 64 ~ 108 MHz )                                           |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * | stand by TV1 audio( 56.25 ~ 91.75 MHz )                                   |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> * | stand by TV2 audio( 174.75 ~ 222.25 MHz )                                 |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"> * | Presets wave band ( 520 ~ 1730 KHz )                                      |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"> * | __Preset shortwave band ( 3.2 ~ 21.9 MHz )__                              |         |    X    |    X    |</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment"> * | Preset long-wave band ( 150 ~ 285 KHz )                                   |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment"> * | Custom support band                                                       |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment"> * | It supports a wide supply voltage range: 2.0V ~ 4.5V                      |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment"> * | stand by 32.768KHz &amp; 12MHz Passive mode crystal reference clock and Pin   |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment"> * | Integrated audio amplifier (maximum power differential 0.5W )             |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment"> * | Two kinds of control volume: volume potentiometer and the volume register |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment"> * | Two kinds of de-emphasis modes: 50us / 75us                               |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment"> * | Support tuning lamp function                                              |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment"> * | The audio output may be in phase, may be inverted output                  |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment"> * | Support for stereo line input                                             |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment"> * | Support low-power standby mode, 3V When power consumption 10uA            |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment"> * | Internal integrated PLL                                                   |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment"> * | Intelligent frequency control                                             |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment"> * | AGC                                                                       |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment"> * | Precise digital demodulation                                              |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment"> * | Smart mute function                                                       |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"> * | SW Increased tracking filter, greatly improving SW Audibility             |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment"> * | MW Precise tuning adaptive front end                                      |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment"> * | FM Subwoofer                                                              |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment"> * | integrated LDO                                                            |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment"> * | According to the battery voltage, automatically adjust the volume         |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment"> * | Pb-free / RoHS complian                                                   |   X     |    X    |    X    |</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a4f9ba789d49e4594b1c43508cc3856cc">   68</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">AKC595X_I2C_ADRESS</span> 0x10</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">// Read and Write (RW) AKC695X registers</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a748ad53bef975af9c1edbcacc58e5be4">   71</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG00</span> 0x00</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#afc04faecdab9e0d1751466b6c53fdaf1">   72</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG01</span> 0x01</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a09a3d3fef9f53f0dbe1dd0072f02c1d4">   73</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG02</span> 0x02</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#ac2446f96334b533154259a21c13950e6">   74</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG03</span> 0x03</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a88dee04c27a51e335798ab012dccbea1">   75</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG04</span> 0x04</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a848ac333ddfea97bc1f16a2e69eaf953">   76</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG05</span> 0x05</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#ac5641e8e0c3254714bcd533a4b0111ca">   77</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG06</span> 0x06</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a2a41df49654ae321f569bfabfa74de24">   78</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG07</span> 0x07</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a96f1c217ac648e08bc64dd3b9086612c">   79</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG08</span> 0x08</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a48be4d4aa3bde15da7a8145c0f64fd7f">   80</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG09</span> 0x09</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a96ac68e41626933b41138548318e052b">   81</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG11</span> 0x0B</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a06bf525972f7b47f7683a0c37cfb2a70">   82</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG12</span> 0x0C</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a2c18d898fc24de24b8731e57c6a1924d">   83</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG13</span> 0x0D</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">// Read only AKC695X registers</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a2e437b34d319df42f92633627f92e9f2">   85</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG20</span> 0x14</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#ab9a2bfb4627e2153c68508a8e93a56ad">   86</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG21</span> 0x15</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#ad2f186761707da928b665e01cf172074">   87</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG22</span> 0x16</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#ab2a30e7b801ce92416c8e7c60cffc2ef">   88</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG23</span> 0x17</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#ae2bae8a5a2a921698cab7c2a9cf2f063">   89</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG24</span> 0x18</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a71f2acb83463b791bebe30694cb7c497">   90</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG25</span> 0x19</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a0657872519be325710bcbd16b8e9f67a">   91</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG26</span> 0x1A</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="_a_k_c695_x_8h.html#a43f6021132d63d5caf3b7d786e3152da">   92</a></span>&#160;<span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG27</span> 0x1B</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment"> * @defgroup GA01 Union, Structure and Defined Data Types  </span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment"> * @brief   AKC695X Defined Data Types </span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment"> * @details Defined Data Types is a way to represent the AKC695X registers information</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment"> * @details Some information appears to be inaccurate due to translation problems from Chinese to English.</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment"> * @details The information shown here was extracted from Datasheet:</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment"> * @details AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation.</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment"> * @details Other information seems incomplete even in the original Chinese Datasheet. </span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment"> * @details For example: Reg 10 (0x0A). There is no information about it. The Reg11 and 12 seem wrong  </span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment"> * @brief Reg0 (type 0x00 / RW): configures register 0 (default: 0x4c) Address</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment"> * @see  AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 11</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg0">  111</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg0_8refined">  112</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    {</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        uint8_t rsv : 2;      <span class="comment">//!&lt; Reserved - Debug use, do not change this value using</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        uint8_t mute : 1;     <span class="comment">//!&lt; 1 - Mute L / R channel 0 - Normal operation</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        uint8_t seekup : 1;   <span class="comment">//!&lt; Seek direction control bit. 0 = Seek down;  1 = Seek up</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        uint8_t seek : 1;     <span class="comment">//!&lt; 0-&gt; 1 Trigger tune process The STC bit is set high when the tune operation completes.</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        uint8_t tune : 1;     <span class="comment">//!&lt; 0-&gt; 1 Trigger tune process The STC bit is set high when the tune operation completes.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        uint8_t fm_en : 1;    <span class="comment">//!&lt; 1 = FM mode;  0 = AM mode</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        uint8_t power_on : 1; <span class="comment">//!&lt; 1 = Chip on; 0 = Chip off</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    } refined;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group___g_a01.html#a69492e94019f64dbfa51040914da5d81">  122</a></span>&#160;    <a class="code" href="group___g_a01.html#a69492e94019f64dbfa51040914da5d81">uint8_t</a> <a class="code" href="group___g_a01.html#a69492e94019f64dbfa51040914da5d81">raw</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;} akc595x_reg0;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment"> * @brief Reg1 (type 0x01 / RW): configures register 1 (default: 0x10) Address</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 12</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg1">  132</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg1_8refined">  133</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        uint8_t fmband : 3; <span class="comment">//!&lt;</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        uint8_t amband : 4; <span class="comment">//!&lt;</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    } refined;</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="group___g_a01.html#aa8de9bc3c9fa44a077da80956afd40b1">  138</a></span>&#160;    <a class="code" href="group___g_a01.html#aa8de9bc3c9fa44a077da80956afd40b1">uint8_t</a> <a class="code" href="group___g_a01.html#aa8de9bc3c9fa44a077da80956afd40b1">raw</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;} akc595x_reg1;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment"> * @brief Reg2 (type 0x02 / RW): configure register 2 (default: 0x4A) Address</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment"> * @details High channel number 5, the channel number and frequencies related as follows: </span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment"> * @details FM mode: Channel Freq = 25kHz * CHAN + 30MHz AM mode, when 5K channel number pattern:. </span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment"> * @details Channel Freq = 5kHz * CHAN AM mode, 3K channel number pattern. when: Channel Freq = 3kHz * CHAN.</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 12</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg2">  152</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg2_8refined">  153</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    {</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        uint8_t channel : 5;      <span class="comment">//!&lt; (0:4) - 5 most significant bits that represents the channel (see reg3)</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        uint8_t mode3k : 1;       <span class="comment">//!&lt; (5)   - 1 = 3K; 0 = 5K</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        uint8_t ref_32k_mode : 1; <span class="comment">//!&lt; (6)   - 1 = 32K ref. crystal clock; 0 = 12MHz ref crystal clock</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        uint8_t rsv : 1;          <span class="comment">//!&lt; (7)   - Reserved - Debug use, do not change this value using</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    } refined;</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="group___g_a01.html#ab8a46f2282e07caf03adaf6d05613965">  160</a></span>&#160;    <a class="code" href="group___g_a01.html#ab8a46f2282e07caf03adaf6d05613965">uint8_t</a> <a class="code" href="group___g_a01.html#ab8a46f2282e07caf03adaf6d05613965">raw</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;} akc595x_reg2;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment"> * @brief Reg3 (type 0x03 / RW): configures register 3 (default: 0xC8) Address</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="group___g_a01.html#ga70e552b2a9ce062ef0342a70e9717a50">  167</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="group___g_a01.html#ga70e552b2a9ce062ef0342a70e9717a50">uint8_t</a> <a class="code" href="group___g_a01.html#ga70e552b2a9ce062ef0342a70e9717a50">akc595x_reg3</a>; <span class="comment">//!&lt; 8 least significant bits representing the channel value (see reg2)</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment"> * @brief Reg4 (type 0x04 / RW): configures register 4 (default: 0x19) Address</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="group___g_a01.html#ga763d7e126511095914012686cd07f3c6">  173</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="group___g_a01.html#ga763d7e126511095914012686cd07f3c6">uint8_t</a> <a class="code" href="group___g_a01.html#ga763d7e126511095914012686cd07f3c6">akc595x_reg4</a>; <span class="comment">//!&lt; Custom channel band start number chan = 32 * usr_chan_start</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment"> * @brief Reg5 (type 0x05 / RW): configures register 5 (default: 0x32) Address</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="group___g_a01.html#gae0b77f29d6b413d968115e292b6f13f5">  180</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="group___g_a01.html#gae0b77f29d6b413d968115e292b6f13f5">uint8_t</a> <a class="code" href="group___g_a01.html#gae0b77f29d6b413d968115e292b6f13f5">akc595x_reg5</a>; <span class="comment">//!&lt; Custom end-band channel number chan = 32 * usr_chan_stop</span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment"> * @brief Reg6 (type 0x06 / RW): configures register 0 (default: 0xA1) Address</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg6">  186</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg6_8refined">  187</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    {</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        uint8_t phase_inv : 1; <span class="comment">//!&lt; 0 = audio output inphase, 1 = opposite phase, for single speaker</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        uint8_t line : 1;      <span class="comment">//!&lt; 0 = Radio mode; 1 = Line Mode</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        uint8_t volume : 6;    <span class="comment">//!&lt; Volume: 0 ~ 63 (&lt;24 =  mute; 24 ~ 63)</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    } refined;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="group___g_a01.html#aadf07dad5a218aaf1a1879168a1a4c33">  193</a></span>&#160;    <a class="code" href="group___g_a01.html#aadf07dad5a218aaf1a1879168a1a4c33">uint8_t</a> <a class="code" href="group___g_a01.html#aadf07dad5a218aaf1a1879168a1a4c33">raw</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;} akc595x_reg6;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="comment"> * @brief Reg7 (type 0x07 / RW): configures register 0 (default: 0xA1) Address</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment"> * @details stereo and mono: &quot;00&quot; the auto stereo, there Stereo_th control threshold ; &quot;10&quot; long as the pilot is forced stereo &quot;x1&quot; forced mono demodulator</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg7">  201</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg7_8refined">  202</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    {</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        uint8_t bw : 2;          <span class="comment">//!&lt; 00 = 150K; 01 = 200K; 10 = 50K; 11 = 100K</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        uint8_t stereo_mono : 2; <span class="comment">//!&lt; &quot;00&quot; the auto stereo, there Stereo_th control threshold ; &quot;10&quot; long as the pilot is forced stereo &quot;x1&quot; forced mono demodulator</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        uint8_t bben : 1;        <span class="comment">//!&lt; Base boost enable 0; Close bass 1.</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        uint8_t de : 1;          <span class="comment">//!&lt; De-emphasis mode. 1 = 75 μ s (USA); 0 = 50 μ s (China)</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        uint8_t rsv : 2;         <span class="comment">//!&lt; Measured using, set to &quot;0&quot; during normal use</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    } refined;</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="group___g_a01.html#aa6ab33aab12776a65ae6f2eb0ccb22d6">  210</a></span>&#160;    <a class="code" href="group___g_a01.html#aa6ab33aab12776a65ae6f2eb0ccb22d6">uint8_t</a> <a class="code" href="group___g_a01.html#aa6ab33aab12776a65ae6f2eb0ccb22d6">raw</a>;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;} akc595x_reg7;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="comment"> * @brief Reg8 (type 0x08 / RW):  configures register 8 (default: 0x58) Address</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg8">  220</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg8_8refined">  221</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    {</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        uint8_t stereo_th : 2; <span class="comment">//!&lt; FM stereo demodulation start CNR threshold - 00=4, 01=8, 10=12,11=16</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        uint8_t fd_th : 2;     <span class="comment">//!&lt;</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        uint8_t am_cnr_th : 2; <span class="comment">//!&lt; When AM mode, chip sets and lighting sentence carrier to noise ratio threshold</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        uint8_t fm_cnr_th : 2; <span class="comment">//!&lt; When the FM mode, chip sets and lighting sentence carrier to noise. Ratio limit 00-2dB 01-3dB 10-4dB 11-5dB door</span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    } refined;</div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="group___g_a01.html#ab0c55e3a1e9dbe3ca05d7b86bd7cb092">  228</a></span>&#160;    <a class="code" href="group___g_a01.html#ab0c55e3a1e9dbe3ca05d7b86bd7cb092">uint8_t</a> <a class="code" href="group___g_a01.html#ab0c55e3a1e9dbe3ca05d7b86bd7cb092">raw</a>;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;} akc595x_reg8;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment"> * @brief Reg9 (type 0x09 / RW):  configure register 9 (default: 0x07) Address</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14</span></div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg9">  238</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg9_8refined">  239</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    {</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        uint8_t iv_en : 1;      <span class="comment">//!&lt; When low voltage power supply, whether to enter the low-voltage operation mode can</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        uint8_t rsv1 : 1;       <span class="comment">//!&lt; Reserved. Measured using, do not change this value</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        uint8_t osc_en : 1;     <span class="comment">//!&lt; Oscillator source selection. 0 = 0-External XO; 1 = 1-Crystal</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        uint8_t pd_adc_vol : 1; <span class="comment">//!&lt; 0 = volume potentiometer mode</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        uint8_t rsv2 : 4;       <span class="comment">//!&lt; Reserved. Measured using, do not change this value</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    } refined;</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="group___g_a01.html#aa8215ef76e670010c1490287f83ed483">  247</a></span>&#160;    <a class="code" href="group___g_a01.html#aa8215ef76e670010c1490287f83ed483">uint8_t</a> <a class="code" href="group___g_a01.html#aa8215ef76e670010c1490287f83ed483">raw</a>;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;} akc595x_reg9;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment"> * @brief Reg11 (type 0x0B / RW):  configure register 9 (default: 0xE0) Address</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="comment"> * @details Sets FM seek step. </span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment"> * | spece |  step   |</span></div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="comment"> * | ----- |  ------ | </span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="comment"> * |  00   |  25 KHz |</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="comment"> * |  01   |  50 KHz | </span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment"> * |  10   | 100 KHz | </span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment"> * |  11   | 200 KHz | </span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg11">  264</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg11_8refined">  265</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    {</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;        uint8_t rsv1 : 2;  <span class="comment">//!&lt; Reserved. Measured using, do not change this value</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        uint8_t space : 2; <span class="comment">//!&lt; 00 = 25KHz; 01 = 50KHz; 10 = 100KHz; 11 = 200KHz</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        uint8_t rsv2 : 4;  <span class="comment">//!&lt; Reserved. Measured using, do not change this value</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    } refined;</div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="group___g_a01.html#a362515f796dcf4a48bf6c512cd249cbd">  271</a></span>&#160;    <a class="code" href="group___g_a01.html#a362515f796dcf4a48bf6c512cd249cbd">uint8_t</a> <a class="code" href="group___g_a01.html#a362515f796dcf4a48bf6c512cd249cbd">raw</a>;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;} akc595x_reg11;</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="comment"> * @brief Reg12 (type 0x0C / RW):  configure register 11 (default: 0x??) Address</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg12">  281</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg12_8refined">  282</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    {</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        uint8_t rsv2 : 5;   <span class="comment">//!&lt; Reserved. Measured using, do not change this value</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        uint8_t pd_rx : 1;  <span class="comment">//!&lt; 0 = analog and RF; 1 = closed channel </span></div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        uint8_t res : 1;    <span class="comment">//!&lt; </span></div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        uint8_t pd_adc : 1; <span class="comment">//!&lt; Signal channel ADC signal path; 0 = Close; 1 =  Open</span></div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    } refined;</div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="group___g_a01.html#a2345248088c8f7ed06c67d6cc168f95a">  289</a></span>&#160;    <a class="code" href="group___g_a01.html#a2345248088c8f7ed06c67d6cc168f95a">uint8_t</a> <a class="code" href="group___g_a01.html#a2345248088c8f7ed06c67d6cc168f95a">raw</a>;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;} akc595x_reg12;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment"> * @brief Reg13 (type 0x0D / RW):  configure register 11 (default: 0x??) Address</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg13">  299</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg13_8refined">  300</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    {</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        uint8_t rsv3 : 2;    <span class="comment">//!&lt; Measured using, do not change this value</span></div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        uint8_t vol_pre : 2; <span class="comment">//!&lt; Adjusting the output volume of the entire values: 00: 0dB 01: 3.5dB</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        uint8_t rsv2 : 2;    <span class="comment">//!&lt; Measured using, do not change this value</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        uint8_t st_led : 1;  <span class="comment">//!&lt; 0 = tund pin is tuned lamp; When 1-FM and non wtmode, tund indicator pin is stereo demodulation, tuning lamp remainder</span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        uint8_t rsv1 : 1;    <span class="comment">//!&lt; Measured using, do not change this value</span></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    } refined;</div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="group___g_a01.html#a0c5ca55993c1b09395b0278a4b63dd23">  308</a></span>&#160;    <a class="code" href="group___g_a01.html#a0c5ca55993c1b09395b0278a4b63dd23">uint8_t</a> <a class="code" href="group___g_a01.html#a0c5ca55993c1b09395b0278a4b63dd23">raw</a>;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;} akc595x_reg13;</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160; </div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="comment"> * @brief Reg20 (type 0x14 / R) </span></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg20">  318</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg20_8refined">  319</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    {</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        uint8_t readchan : 5; <span class="comment">//!&lt; Current Channel number (high 5bit). See Reg21</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        uint8_t tuned : 1;    <span class="comment">//!&lt; When transferred to station 1, station search software can use this determination bit table</span></div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        uint8_t stc : 1;      <span class="comment">//!&lt; 0 = Not complete; 1 = Complete during Seek and Tune in the register 0.</span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        uint8_t st : 1;       <span class="comment">//!&lt; ??? 0 to the current situation other FM stereo radio ????</span></div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    } refined;</div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="group___g_a01.html#ac8106e85218c1553e74fabf42ea6b322">  326</a></span>&#160;    <a class="code" href="group___g_a01.html#ac8106e85218c1553e74fabf42ea6b322">uint8_t</a> <a class="code" href="group___g_a01.html#ac8106e85218c1553e74fabf42ea6b322">raw</a>;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;} akc595x_reg20;</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="comment"> * @brief Reg21 (type 0x15 / R) </span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment"> * @details Reg21 is the Current Channel number (low 8bit). See Reg 20.</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="group___g_a01.html#ga3d85865e7c11161e222ed157c4e2d169">  335</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="group___g_a01.html#ga3d85865e7c11161e222ed157c4e2d169">uint8_t</a> <a class="code" href="group___g_a01.html#ga3d85865e7c11161e222ed157c4e2d169">akc595x_reg21</a>;</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="comment"> * @brief Reg22 (type 0x16 / R) </span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg22">  344</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg22_8refined">  345</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    {</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        uint8_t cnram : 7;    <span class="comment">//!&lt; Carrier to noise ratio of the AM signal format, in dB</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;        uint8_t mode3k_f : 1; <span class="comment">//!&lt; 1 = AM 3K channel spacing; 0 =  AM 5K channel spacing</span></div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    } refined;</div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="group___g_a01.html#afa7704acaca9776e4059acc91abefec9">  350</a></span>&#160;    <a class="code" href="group___g_a01.html#afa7704acaca9776e4059acc91abefec9">uint8_t</a> <a class="code" href="group___g_a01.html#afa7704acaca9776e4059acc91abefec9">raw</a>;</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;} akc595x_reg22;</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;<span class="comment"> * @brief Reg23 (type 0x17 / R) </span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg23">  360</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg23_8refined">  361</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    {</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        uint8_t cnrfm : 7;  <span class="comment">//!&lt; Carrier to noise ratio of the FM signal format, in dB</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        uint8_t st_dem : 1; <span class="comment">//!&lt; Only the demodulated FM stereo (Stereo ratio is greater than 30%) show only one</span></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    } refined;</div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="group___g_a01.html#a994238e0370595d97063b101d960b894">  366</a></span>&#160;    <a class="code" href="group___g_a01.html#a994238e0370595d97063b101d960b894">uint8_t</a> <a class="code" href="group___g_a01.html#a994238e0370595d97063b101d960b894">raw</a>;</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;} akc595x_reg23;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<span class="comment"> * @brief Reg24 (type 0x18 / R) </span></div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg24">  376</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg24_8refined">  377</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    {</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        uint8_t lvmode : 1;      <span class="comment">//!&lt; Low voltage maximum volume limit mode indication bit</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;        uint8_t rsv : 1;         <span class="comment">//!&lt; Reserved.</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;        uint8_t pgalevel_if : 3; <span class="comment">//!&lt; RF power control loop gain level, the greater the level, a high gain of approximately</span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;        uint8_t pgalevel_rf : 3; <span class="comment">//!&lt; RF power control loop gain level, the greater the level, a high gain of approximately</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    } refined;</div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="group___g_a01.html#a729eddfac072898b15050458d4d79903">  384</a></span>&#160;    <a class="code" href="group___g_a01.html#a729eddfac072898b15050458d4d79903">uint8_t</a> <a class="code" href="group___g_a01.html#a729eddfac072898b15050458d4d79903">raw</a>;</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;} akc595x_reg24;</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="comment"> * @brief Reg25 (type 0x19 / R) </span></div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="comment"> * @details </span></div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg25">  394</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg25_8refined">  395</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    {</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        uint8_t vbat : 6; <span class="comment">//!&lt; 6 bits indicating the supply voltage ( unsigned number )</span></div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        uint8_t rsv : 2;  <span class="comment">//!&lt; Reserved</span></div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    } refined;</div>
<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="group___g_a01.html#acdef99156cbb020c53d1267b977a5c2f">  400</a></span>&#160;    <a class="code" href="group___g_a01.html#acdef99156cbb020c53d1267b977a5c2f">uint8_t</a> <a class="code" href="group___g_a01.html#acdef99156cbb020c53d1267b977a5c2f">raw</a>;</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;} akc595x_reg25;</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="comment"> * @brief Reg26 (type 0x1A / R) </span></div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;<span class="comment"> * @details When the frequency offset indicated, complement format, greater than 127, 256 can be reduced to normal values, attention here to 1KHz units FM, AM in units of 100Hz</span></div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="group___g_a01.html#gab608542d70358eddcde54768d0847edd">  410</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="group___g_a01.html#gab608542d70358eddcde54768d0847edd">uint8_t</a> <a class="code" href="group___g_a01.html#gab608542d70358eddcde54768d0847edd">akc595x_reg26</a>; <span class="comment">//!&lt;   When the frequency offset indicated, complement format, greater than 127, 256 can be</span></div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160; </div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;<span class="comment"> * @ingroup GA01</span></div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;<span class="comment"> * @brief Reg27 (type 0x1B / R) </span></div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;<span class="comment"> * @details Antenna aperture can be calculated using signal levels rssi, pgalevel_rf, pgalevel_if</span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<span class="comment"> * @details FM / SW : Pin (dBuV) = 103 - rssi - 6 * pgalevel_rf - 6 * pgalevel_if</span></div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;<span class="comment"> * @details MW / LW : Pin (dBuV) = 123 - rssi - 6 * pgalevel_rf - 6 * pgalevel_if</span></div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;<span class="comment"> * @see AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15</span></div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionakc595x__reg27">  421</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union</span> {</div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="group___g_a01.html#structakc595x__reg27_8refined">  422</a></span>&#160;    <span class="keyword">struct</span></div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    {</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;        uint8_t rssi : 7; <span class="comment">//!&lt; Antenna aperture can be calculated using signal levels rssi.</span></div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        uint8_t rsv : 1;  <span class="comment">//!&lt; Reserved</span></div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    } refined;</div>
<div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="group___g_a01.html#acd4a74c399d17474a702f5047b784b47">  427</a></span>&#160;    <a class="code" href="group___g_a01.html#acd4a74c399d17474a702f5047b784b47">uint8_t</a> <a class="code" href="group___g_a01.html#acd4a74c399d17474a702f5047b784b47">raw</a>;</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;} akc595x_reg27;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; </div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;<span class="comment"> * @defgroup GA02 AKC695X Class  </span></div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;<span class="comment"> * @brief AKC695X Class </span></div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;<span class="comment"> * @details This class implements all functions to help you to control the AKC695X devices. </span></div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;<span class="comment"> * @author PU2CLR - Ricardo Lima Caratti </span></div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160; </div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html">  438</a></span>&#160;<span class="keyword">class</span> <a class="code" href="class_a_k_c695_x.html">AKC695X</a></div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;{</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160; </div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#ab7cd32a73bfe5345422dbebcd6b54ca7">  442</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_a_k_c695_x.html#ab7cd32a73bfe5345422dbebcd6b54ca7">deviceAddress</a> = <a class="code" href="_a_k_c695_x_8h.html#a4f9ba789d49e4594b1c43508cc3856cc">AKC595X_I2C_ADRESS</a>;</div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a53464dde83a8625917655865af8ef53d">  443</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_a_k_c695_x.html#a53464dde83a8625917655865af8ef53d">resetPin</a> = -1;</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; </div>
<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a6eeb46370dd33c3336d4a228a61c4f12">  445</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a6eeb46370dd33c3336d4a228a61c4f12">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#a6eeb46370dd33c3336d4a228a61c4f12">volume</a>;                             <span class="comment">//!&lt; Store the current volume</span></div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a3c7d7b2a13c51ef791df48aa7f368d4c">  446</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a3c7d7b2a13c51ef791df48aa7f368d4c">uint16_t</a> <a class="code" href="class_a_k_c695_x.html#a3c7d7b2a13c51ef791df48aa7f368d4c">currentStep</a>;                       <span class="comment">//!&lt; Strore the current step</span></div>
<div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a31bef75624625b33b8afced20a7e08c7">  447</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a31bef75624625b33b8afced20a7e08c7">uint16_t</a> <a class="code" href="class_a_k_c695_x.html#a31bef75624625b33b8afced20a7e08c7">currentFrequency</a>;                  <span class="comment">//!&lt; Store the current frequency</span></div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#ae1ddbcc5a1f517f3fda2d3776516c749">  448</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#ae1ddbcc5a1f517f3fda2d3776516c749">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#ae1ddbcc5a1f517f3fda2d3776516c749">currentMode</a> = 0;                    <span class="comment">//!&lt; Store the current mode: 1 = FM; 0 = AM</span></div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#abf560269d5467dbaf2472804397245f7">  449</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#abf560269d5467dbaf2472804397245f7">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#abf560269d5467dbaf2472804397245f7">currentCrystalType</a> = <a class="code" href="_a_k_c695_x_8h.html#abb215e8e082a207ca359cf474bbb4935">CRYSTAL_32KHZ</a>; <span class="comment">//!&lt; Store the crystal type used:  0 = 12MHz;   1 = 32.768KHz</span></div>
<div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a24527a2d9cdeae1eea5fbe2efafe5ffe">  450</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a24527a2d9cdeae1eea5fbe2efafe5ffe">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#a24527a2d9cdeae1eea5fbe2efafe5ffe">currentMode3k</a> = 1;                  <span class="comment">//!&lt;  1 =  3K; 0 = AM</span></div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; </div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <span class="comment">// AM current band information</span></div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a750a6bc02db2cc1c8635a3a074ed3189">  453</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a750a6bc02db2cc1c8635a3a074ed3189">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#a750a6bc02db2cc1c8635a3a074ed3189">currentBand</a> = 0;</div>
<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a2a62875b6628634dd57ea9631583c14c">  454</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a2a62875b6628634dd57ea9631583c14c">uint16_t</a> <a class="code" href="class_a_k_c695_x.html#a2a62875b6628634dd57ea9631583c14c">currentBandMinimumFrequency</a>;</div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a017b74af1d64d66542ecad53f2b425a7">  455</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#a017b74af1d64d66542ecad53f2b425a7">uint16_t</a> <a class="code" href="class_a_k_c695_x.html#a017b74af1d64d66542ecad53f2b425a7">currentBandMaximumFrequency</a>;</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160; </div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;    <span class="comment">// FM current band information</span></div>
<div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#aebe4c56e74422775554083129f27004f">  458</a></span>&#160;    <a class="code" href="class_a_k_c695_x.html#aebe4c56e74422775554083129f27004f">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#aebe4c56e74422775554083129f27004f">fmCurrentBand</a> = 0;</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160; </div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;    <span class="comment">// Low level functions</span></div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#ga943ec28389bad1988124dd0f04c9b687">reset</a>();</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#gae472084d592c6b814d7a6d72bab5af05">setI2CBusAddress</a>(<span class="keywordtype">int</span> deviceAddress);</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160; </div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#gaaa883afce133a14c97aa938a60b41e0a">setup</a>(<span class="keywordtype">int</span> reset_pin);</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#ga1da8ed0e900d063c21b73b51d9310e60">setup</a>(<span class="keywordtype">int</span> reset_pin, uint8_t crystal_type);</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160; </div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#gaf156fb3c65b4bfc68a977f4586ae23a6">powerOn</a>(uint8_t fm_en, uint8_t tune, uint8_t mute, uint8_t seek, uint8_t seekup);</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#gaffff7bd58909a00d6a461f4a325ab396">setRegister</a>(uint8_t reg, uint8_t parameter);</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    <a class="code" href="group___g_a03.html#ga771f5b0ed1750f9b221f5240d3301d5a">uint8_t</a> <a class="code" href="group___g_a03.html#ga771f5b0ed1750f9b221f5240d3301d5a">getRegister</a>(<a class="code" href="group___g_a03.html#ga771f5b0ed1750f9b221f5240d3301d5a">uint8_t</a> <a class="code" href="group___g_a03.html#ga771f5b0ed1750f9b221f5240d3301d5a">reg</a>);</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03.html#ga860660a84657a9ee209eb6f9459447de">setCrystalType</a>(uint8_t crystal);</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160; </div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group___g_a03_a.html#ga0791915b409796aa2f0f9e4218ac732d">isTuned</a>();</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group___g_a03_a.html#ga47a2a79e7c68701c9eb100b1a48adb90">isTuningComplete</a>();</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160; </div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03_a.html#ga150bbbf8a747af419ec909e50a2c16f7">setFmEmphasis</a>(uint8_t de);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03_a.html#ga5a730d440f7b8074b8fbd33d7358409c">setFmStereoMono</a>(uint8_t value);</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a03_a.html#ga4d47df4b9fca04ca1fd4a38b9e6891a0">setFmBandwidth</a>(uint8_t value);</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160; </div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    <a class="code" href="group___g_a03_a.html#gab0f41f62d16a51c336d25324e4a9d08b">uint8_t</a> <a class="code" href="group___g_a03_a.html#gab0f41f62d16a51c336d25324e4a9d08b">isCurrentModeFM</a>();</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    <a class="code" href="group___g_a03_a.html#gac0bb41042eb94f538a9d5d97f5a16648">uint16_t</a> <a class="code" href="group___g_a03_a.html#gac0bb41042eb94f538a9d5d97f5a16648">getCurrentChannel</a>();</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    <a class="code" href="group___g_a03_a.html#ga62a70a5191c3e56dfa6cc51c314bc210">uint16_t</a> <a class="code" href="group___g_a03_a.html#ga62a70a5191c3e56dfa6cc51c314bc210">channelToFrequency</a>();</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160; </div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <a class="code" href="group___g_a03_a.html#gaf38e047d4c5a455898f799714f4165b8">uint8_t</a> <a class="code" href="group___g_a03_a.html#gaf38e047d4c5a455898f799714f4165b8">getAmCurrentSpace</a>();</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    <a class="code" href="group___g_a03_a.html#gadade5cf9f5df5fa14917b3cb6bedd187">uint8_t</a> <a class="code" href="group___g_a03_a.html#gadade5cf9f5df5fa14917b3cb6bedd187">getAmCarrierNoiseRatio</a>();</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group___g_a03_a.html#gad7c2f47bcbd005d01a813963745a6f97">isFmStereo</a>();</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;    <a class="code" href="group___g_a03_a.html#ga3471675057f459e0d641c33f47b4cdd4">uint8_t</a> <a class="code" href="group___g_a03_a.html#ga3471675057f459e0d641c33f47b4cdd4">getFmCarrierNoiseRatio</a>();</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160; </div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gaf77739f861a531dc4c7e6ac5a6cb2713">setFM</a>(uint8_t akc695x_fm_band, uint16_t minimum_freq, uint16_t maximum_freq, uint16_t default_frequency, uint8_t default_step);</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga8f61d1c6b668dbcdb5917b58580ed44e">setAM</a>(uint8_t akc695x_am_band, uint16_t minimum_freq, uint16_t maximum_freq, uint16_t default_frequency, uint8_t default_step);</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; </div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga0401dca3302ebfe9f35c215bb0a76364">setCustomBand</a>(uint16_t minimum_frequency, uint16_t maximum_frequency);</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160; </div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gabf17b1129300da3388a1ee18735a64e6">setStep</a>(uint8_t step);</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160; </div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gaabe4bb9635ae8a7b53a5fd48b98d6339">setFmSeekStep</a>(uint8_t value);</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">seekStation</a>(uint8_t up_down, <span class="keywordtype">void</span> (*showFunc)() = <a class="code" href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">NULL</a>);</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga0873887fb945b74c56f12ec601be00ac">setFrequency</a>(uint16_t frequency);</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    <a class="code" href="group___g_a04.html#ga1675e3100bba495bc813899563badc42">uint16_t</a> <a class="code" href="group___g_a04.html#ga1675e3100bba495bc813899563badc42">getFrequency</a>();</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gaf8351a39885da7e518e6fc5208c801c7">frequencyUp</a>();</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gabb5f99342439074cf8f9353f1d1307f5">frequencyDown</a>();</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160; </div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga0ff5be517897a239d2eba9869e1d2591">setAudio</a>(uint8_t phase_inv, uint8_t line, uint8_t volume);</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gafa446d042f11dd32356d2e95eae9f8cf">setAudio</a>();</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160; </div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga5c11dd6e97fe01ca7214676cb880e4a7">setVolume</a>(uint8_t volume);</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#gaac575af74cdbf784e24366f13fc60f99">setVolumeControl</a>(uint8_t type);</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga8526d91de9d635764fbba4f6ce1fa7d9">setVolumeUp</a>();</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga743ab35c54155385e6585ee0067a209e">setVolumeDown</a>();</div>
<div class="line"><a name="l00511"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#aac415010022eeaa8ff0029aeb30e07f3">  511</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="class_a_k_c695_x.html#aac415010022eeaa8ff0029aeb30e07f3">getVolume</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>-&gt;volume; };</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160; </div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="group___g_a04.html#gadf936fa32a36782b72633cae84d63f88">getRSSI</a>();</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="group___g_a04.html#ga580389b4740ed5cabcba28e481344a64">getSupplyVoltage</a>();</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160; </div>
<div class="line"><a name="l00516"></a><span class="lineno"><a class="line" href="class_a_k_c695_x.html#a2bb0dab82de260b79371da6df6e0954c">  516</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_a_k_c695_x.html#a2bb0dab82de260b79371da6df6e0954c">uint8_t</a> <a class="code" href="class_a_k_c695_x.html#a2bb0dab82de260b79371da6df6e0954c">getCurrentMode</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>-&gt;currentMode; };</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160; </div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">commitTune</a>();</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;};</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="agroup___g_a04_html_gabf17b1129300da3388a1ee18735a64e6"><div class="ttname"><a href="group___g_a04.html#gabf17b1129300da3388a1ee18735a64e6">AKC695X::setStep</a></div><div class="ttdeci">void setStep(uint8_t step)</div><div class="ttdoc">Sets the step that will be used to increment and decrement the current frequency.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:607</div></div>
<div class="ttc" id="agroup___g_a04_html_ga5c11dd6e97fe01ca7214676cb880e4a7"><div class="ttname"><a href="group___g_a04.html#ga5c11dd6e97fe01ca7214676cb880e4a7">AKC695X::setVolume</a></div><div class="ttdeci">void setVolume(uint8_t volume)</div><div class="ttdoc">Sets the output audio volume.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:827</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a750a6bc02db2cc1c8635a3a074ed3189"><div class="ttname"><a href="class_a_k_c695_x.html#a750a6bc02db2cc1c8635a3a074ed3189">AKC695X::currentBand</a></div><div class="ttdeci">uint8_t currentBand</div><div class="ttdef"><b>Definition:</b> AKC695X.h:453</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga47a2a79e7c68701c9eb100b1a48adb90"><div class="ttname"><a href="group___g_a03_a.html#ga47a2a79e7c68701c9eb100b1a48adb90">AKC695X::isTuningComplete</a></div><div class="ttdeci">bool isTuningComplete()</div><div class="ttdoc">Gets the Status of seeking or tuning process.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:204</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a2bb0dab82de260b79371da6df6e0954c"><div class="ttname"><a href="class_a_k_c695_x.html#a2bb0dab82de260b79371da6df6e0954c">AKC695X::getCurrentMode</a></div><div class="ttdeci">uint8_t getCurrentMode()</div><div class="ttdef"><b>Definition:</b> AKC695X.h:516</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a31bef75624625b33b8afced20a7e08c7"><div class="ttname"><a href="class_a_k_c695_x.html#a31bef75624625b33b8afced20a7e08c7">AKC695X::currentFrequency</a></div><div class="ttdeci">uint16_t currentFrequency</div><div class="ttdoc">Store the current frequency.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:447</div></div>
<div class="ttc" id="agroup___g_a03_html_ga1da8ed0e900d063c21b73b51d9310e60"><div class="ttname"><a href="group___g_a03.html#ga1da8ed0e900d063c21b73b51d9310e60">AKC695X::setup</a></div><div class="ttdeci">void setup(int reset_pin, uint8_t crystal_type)</div><div class="ttdoc">Receiver startup.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:76</div></div>
<div class="ttc" id="agroup___g_a03_html_gae472084d592c6b814d7a6d72bab5af05"><div class="ttname"><a href="group___g_a03.html#gae472084d592c6b814d7a6d72bab5af05">AKC695X::setI2CBusAddress</a></div><div class="ttdeci">void setI2CBusAddress(int deviceAddress)</div><div class="ttdoc">Sets the I2C bus device address.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:48</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga0791915b409796aa2f0f9e4218ac732d"><div class="ttname"><a href="group___g_a03_a.html#ga0791915b409796aa2f0f9e4218ac732d">AKC695X::isTuned</a></div><div class="ttdeci">bool isTuned()</div><div class="ttdoc">Gets the result of tune processing.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:190</div></div>
<div class="ttc" id="agroup___g_a03_a_html_gaf38e047d4c5a455898f799714f4165b8"><div class="ttname"><a href="group___g_a03_a.html#gaf38e047d4c5a455898f799714f4165b8">AKC695X::getAmCurrentSpace</a></div><div class="ttdeci">uint8_t getAmCurrentSpace()</div><div class="ttdoc">Gets the current AM space.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:299</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html"><div class="ttname"><a href="class_a_k_c695_x.html">AKC695X</a></div><div class="ttdef"><b>Definition:</b> AKC695X.h:438</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a4f9ba789d49e4594b1c43508cc3856cc"><div class="ttname"><a href="_a_k_c695_x_8h.html#a4f9ba789d49e4594b1c43508cc3856cc">AKC595X_I2C_ADRESS</a></div><div class="ttdeci">#define AKC595X_I2C_ADRESS</div><div class="ttdoc">AKC695X features.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:68</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga3471675057f459e0d641c33f47b4cdd4"><div class="ttname"><a href="group___g_a03_a.html#ga3471675057f459e0d641c33f47b4cdd4">AKC695X::getFmCarrierNoiseRatio</a></div><div class="ttdeci">uint8_t getFmCarrierNoiseRatio()</div><div class="ttdoc">Gets the current FM carrier to noise ratio.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:329</div></div>
<div class="ttc" id="agroup___g_a04_html_ga0873887fb945b74c56f12ec601be00ac"><div class="ttname"><a href="group___g_a04.html#ga0873887fb945b74c56f12ec601be00ac">AKC695X::setFrequency</a></div><div class="ttdeci">void setFrequency(uint16_t frequency)</div><div class="ttdoc">Sets the the device to a given frequency.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:704</div></div>
<div class="ttc" id="agroup___g_a01_html_ac8106e85218c1553e74fabf42ea6b322"><div class="ttname"><a href="group___g_a01.html#ac8106e85218c1553e74fabf42ea6b322">akc595x_reg20::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:326</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a2a41df49654ae321f569bfabfa74de24"><div class="ttname"><a href="_a_k_c695_x_8h.html#a2a41df49654ae321f569bfabfa74de24">REG07</a></div><div class="ttdeci">#define REG07</div><div class="ttdef"><b>Definition:</b> AKC695X.h:78</div></div>
<div class="ttc" id="agroup___g_a01_html_a0c5ca55993c1b09395b0278a4b63dd23"><div class="ttname"><a href="group___g_a01.html#a0c5ca55993c1b09395b0278a4b63dd23">akc595x_reg13::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:308</div></div>
<div class="ttc" id="agroup___g_a04_html_gadf936fa32a36782b72633cae84d63f88"><div class="ttname"><a href="group___g_a04.html#gadf936fa32a36782b72633cae84d63f88">AKC695X::getRSSI</a></div><div class="ttdeci">int getRSSI()</div><div class="ttdoc">Gets the current RSSI.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:895</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a2a62875b6628634dd57ea9631583c14c"><div class="ttname"><a href="class_a_k_c695_x.html#a2a62875b6628634dd57ea9631583c14c">AKC695X::currentBandMinimumFrequency</a></div><div class="ttdeci">uint16_t currentBandMinimumFrequency</div><div class="ttdef"><b>Definition:</b> AKC695X.h:454</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a53464dde83a8625917655865af8ef53d"><div class="ttname"><a href="class_a_k_c695_x.html#a53464dde83a8625917655865af8ef53d">AKC695X::resetPin</a></div><div class="ttdeci">int resetPin</div><div class="ttdef"><b>Definition:</b> AKC695X.h:443</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_acc98e8d3badddd21bc528451bb718f82"><div class="ttname"><a href="_a_k_c695_x_8h.html#acc98e8d3badddd21bc528451bb718f82">MAX_SEEK_TIME</a></div><div class="ttdeci">#define MAX_SEEK_TIME</div><div class="ttdef"><b>Definition:</b> AKC695X.h:29</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a48be4d4aa3bde15da7a8145c0f64fd7f"><div class="ttname"><a href="_a_k_c695_x_8h.html#a48be4d4aa3bde15da7a8145c0f64fd7f">REG09</a></div><div class="ttdeci">#define REG09</div><div class="ttdef"><b>Definition:</b> AKC695X.h:80</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a96ac68e41626933b41138548318e052b"><div class="ttname"><a href="_a_k_c695_x_8h.html#a96ac68e41626933b41138548318e052b">REG11</a></div><div class="ttdeci">#define REG11</div><div class="ttdef"><b>Definition:</b> AKC695X.h:81</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_ac2446f96334b533154259a21c13950e6"><div class="ttname"><a href="_a_k_c695_x_8h.html#ac2446f96334b533154259a21c13950e6">REG03</a></div><div class="ttdeci">#define REG03</div><div class="ttdef"><b>Definition:</b> AKC695X.h:74</div></div>
<div class="ttc" id="agroup___g_a01_html_ab0c55e3a1e9dbe3ca05d7b86bd7cb092"><div class="ttname"><a href="group___g_a01.html#ab0c55e3a1e9dbe3ca05d7b86bd7cb092">akc595x_reg8::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:228</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a71f2acb83463b791bebe30694cb7c497"><div class="ttname"><a href="_a_k_c695_x_8h.html#a71f2acb83463b791bebe30694cb7c497">REG25</a></div><div class="ttdeci">#define REG25</div><div class="ttdef"><b>Definition:</b> AKC695X.h:90</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a43f6021132d63d5caf3b7d786e3152da"><div class="ttname"><a href="_a_k_c695_x_8h.html#a43f6021132d63d5caf3b7d786e3152da">REG27</a></div><div class="ttdeci">#define REG27</div><div class="ttdef"><b>Definition:</b> AKC695X.h:92</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga150bbbf8a747af419ec909e50a2c16f7"><div class="ttname"><a href="group___g_a03_a.html#ga150bbbf8a747af419ec909e50a2c16f7">AKC695X::setFmEmphasis</a></div><div class="ttdeci">void setFmEmphasis(uint8_t de)</div><div class="ttdoc">Sets de-emphasis.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:343</div></div>
<div class="ttc" id="agroup___g_a04_html_ga8f61d1c6b668dbcdb5917b58580ed44e"><div class="ttname"><a href="group___g_a04.html#ga8f61d1c6b668dbcdb5917b58580ed44e">AKC695X::setAM</a></div><div class="ttdeci">void setAM(uint8_t akc695x_am_band, uint16_t minimum_freq, uint16_t maximum_freq, uint16_t default_frequency, uint8_t default_step)</div><div class="ttdoc">Sets the AKC695X to AM mode and selects the band.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:557</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a848ac333ddfea97bc1f16a2e69eaf953"><div class="ttname"><a href="_a_k_c695_x_8h.html#a848ac333ddfea97bc1f16a2e69eaf953">REG05</a></div><div class="ttdeci">#define REG05</div><div class="ttdef"><b>Definition:</b> AKC695X.h:76</div></div>
<div class="ttc" id="agroup___g_a01_html_afa7704acaca9776e4059acc91abefec9"><div class="ttname"><a href="group___g_a01.html#afa7704acaca9776e4059acc91abefec9">akc595x_reg22::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:350</div></div>
<div class="ttc" id="agroup___g_a01_html_acd4a74c399d17474a702f5047b784b47"><div class="ttname"><a href="group___g_a01.html#acd4a74c399d17474a702f5047b784b47">akc595x_reg27::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:427</div></div>
<div class="ttc" id="agroup___g_a04_html_ga580389b4740ed5cabcba28e481344a64"><div class="ttname"><a href="group___g_a04.html#ga580389b4740ed5cabcba28e481344a64">AKC695X::getSupplyVoltage</a></div><div class="ttdeci">float getSupplyVoltage()</div><div class="ttdoc">Gets the supply voltage.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:915</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a24527a2d9cdeae1eea5fbe2efafe5ffe"><div class="ttname"><a href="class_a_k_c695_x.html#a24527a2d9cdeae1eea5fbe2efafe5ffe">AKC695X::currentMode3k</a></div><div class="ttdeci">uint8_t currentMode3k</div><div class="ttdoc">1 = 3K; 0 = AM</div><div class="ttdef"><b>Definition:</b> AKC695X.h:450</div></div>
<div class="ttc" id="agroup___g_a01_html_a362515f796dcf4a48bf6c512cd249cbd"><div class="ttname"><a href="group___g_a01.html#a362515f796dcf4a48bf6c512cd249cbd">akc595x_reg11::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:271</div></div>
<div class="ttc" id="agroup___g_a03_html_ga860660a84657a9ee209eb6f9459447de"><div class="ttname"><a href="group___g_a03.html#ga860660a84657a9ee209eb6f9459447de">AKC695X::setCrystalType</a></div><div class="ttdeci">void setCrystalType(uint8_t crystal)</div><div class="ttdoc">Sets the kind of Crystal.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:169</div></div>
<div class="ttc" id="agroup___g_a01_html_a2345248088c8f7ed06c67d6cc168f95a"><div class="ttname"><a href="group___g_a01.html#a2345248088c8f7ed06c67d6cc168f95a">akc595x_reg12::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:289</div></div>
<div class="ttc" id="agroup___g_a01_html_ga763d7e126511095914012686cd07f3c6"><div class="ttname"><a href="group___g_a01.html#ga763d7e126511095914012686cd07f3c6">akc595x_reg4</a></div><div class="ttdeci">uint8_t akc595x_reg4</div><div class="ttdoc">Reg4 (type 0x04 / RW): configures register 4 (default: 0x19) Address.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:173</div></div>
<div class="ttc" id="agroup___g_a01_html_gae0b77f29d6b413d968115e292b6f13f5"><div class="ttname"><a href="group___g_a01.html#gae0b77f29d6b413d968115e292b6f13f5">akc595x_reg5</a></div><div class="ttdeci">uint8_t akc595x_reg5</div><div class="ttdoc">Reg5 (type 0x05 / RW): configures register 5 (default: 0x32) Address.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:180</div></div>
<div class="ttc" id="agroup___g_a04_html_gaf77739f861a531dc4c7e6ac5a6cb2713"><div class="ttname"><a href="group___g_a04.html#gaf77739f861a531dc4c7e6ac5a6cb2713">AKC695X::setFM</a></div><div class="ttdeci">void setFM(uint8_t akc695x_fm_band, uint16_t minimum_freq, uint16_t maximum_freq, uint16_t default_frequency, uint8_t default_step)</div><div class="ttdoc">Sets the AKC695X to FM mode.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:482</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga5a730d440f7b8074b8fbd33d7358409c"><div class="ttname"><a href="group___g_a03_a.html#ga5a730d440f7b8074b8fbd33d7358409c">AKC695X::setFmStereoMono</a></div><div class="ttdeci">void setFmStereoMono(uint8_t value)</div><div class="ttdoc">Sets the FM stereo or mono.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:363</div></div>
<div class="ttc" id="agroup___g_a04_html_gabb5f99342439074cf8f9353f1d1307f5"><div class="ttname"><a href="group___g_a04.html#gabb5f99342439074cf8f9353f1d1307f5">AKC695X::frequencyDown</a></div><div class="ttdeci">void frequencyDown()</div><div class="ttdoc">Subtracts the current step from the current frequency and assign the new frequency.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:778</div></div>
<div class="ttc" id="agroup___g_a01_html_a729eddfac072898b15050458d4d79903"><div class="ttname"><a href="group___g_a01.html#a729eddfac072898b15050458d4d79903">akc595x_reg24::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:384</div></div>
<div class="ttc" id="agroup___g_a03_a_html_gab0f41f62d16a51c336d25324e4a9d08b"><div class="ttname"><a href="group___g_a03_a.html#gab0f41f62d16a51c336d25324e4a9d08b">AKC695X::isCurrentModeFM</a></div><div class="ttdeci">uint8_t isCurrentModeFM()</div><div class="ttdoc">Gets the current operation mode;.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:219</div></div>
<div class="ttc" id="agroup___g_a01_html_aa6ab33aab12776a65ae6f2eb0ccb22d6"><div class="ttname"><a href="group___g_a01.html#aa6ab33aab12776a65ae6f2eb0ccb22d6">akc595x_reg7::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:210</div></div>
<div class="ttc" id="agroup___g_a04_html_ga743ab35c54155385e6585ee0067a209e"><div class="ttname"><a href="group___g_a04.html#ga743ab35c54155385e6585ee0067a209e">AKC695X::setVolumeDown</a></div><div class="ttdeci">void setVolumeDown()</div><div class="ttdoc">Decrements the audio volume.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:855</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_ae1ddbcc5a1f517f3fda2d3776516c749"><div class="ttname"><a href="class_a_k_c695_x.html#ae1ddbcc5a1f517f3fda2d3776516c749">AKC695X::currentMode</a></div><div class="ttdeci">uint8_t currentMode</div><div class="ttdoc">Store the current mode: 1 = FM; 0 = AM.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:448</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_ab9a2bfb4627e2153c68508a8e93a56ad"><div class="ttname"><a href="_a_k_c695_x_8h.html#ab9a2bfb4627e2153c68508a8e93a56ad">REG21</a></div><div class="ttdeci">#define REG21</div><div class="ttdef"><b>Definition:</b> AKC695X.h:86</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_aac415010022eeaa8ff0029aeb30e07f3"><div class="ttname"><a href="class_a_k_c695_x.html#aac415010022eeaa8ff0029aeb30e07f3">AKC695X::getVolume</a></div><div class="ttdeci">int getVolume()</div><div class="ttdef"><b>Definition:</b> AKC695X.h:511</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_ae2bae8a5a2a921698cab7c2a9cf2f063"><div class="ttname"><a href="_a_k_c695_x_8h.html#ae2bae8a5a2a921698cab7c2a9cf2f063">REG24</a></div><div class="ttdeci">#define REG24</div><div class="ttdef"><b>Definition:</b> AKC695X.h:89</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_ab2a30e7b801ce92416c8e7c60cffc2ef"><div class="ttname"><a href="_a_k_c695_x_8h.html#ab2a30e7b801ce92416c8e7c60cffc2ef">REG23</a></div><div class="ttdeci">#define REG23</div><div class="ttdef"><b>Definition:</b> AKC695X.h:88</div></div>
<div class="ttc" id="agroup___g_a04_html_ga60e4f53f014c32b748de04c9d643826d"><div class="ttname"><a href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">AKC695X::seekStation</a></div><div class="ttdeci">void seekStation(uint8_t up_down, void(*showFunc)()=NULL)</div><div class="ttdoc">Seeks a FM station.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:657</div></div>
<div class="ttc" id="agroup___g_a01_html_ga70e552b2a9ce062ef0342a70e9717a50"><div class="ttname"><a href="group___g_a01.html#ga70e552b2a9ce062ef0342a70e9717a50">akc595x_reg3</a></div><div class="ttdeci">uint8_t akc595x_reg3</div><div class="ttdoc">Reg3 (type 0x03 / RW): configures register 3 (default: 0xC8) Address.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:167</div></div>
<div class="ttc" id="agroup___g_a04_html_gaac575af74cdbf784e24366f13fc60f99"><div class="ttname"><a href="group___g_a04.html#gaac575af74cdbf784e24366f13fc60f99">AKC695X::setVolumeControl</a></div><div class="ttdeci">void setVolumeControl(uint8_t type)</div><div class="ttdoc">Sets the kind of audio volume control will be used.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:872</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a88dee04c27a51e335798ab012dccbea1"><div class="ttname"><a href="_a_k_c695_x_8h.html#a88dee04c27a51e335798ab012dccbea1">REG04</a></div><div class="ttdeci">#define REG04</div><div class="ttdef"><b>Definition:</b> AKC695X.h:75</div></div>
<div class="ttc" id="agroup___g_a04_html_ga1675e3100bba495bc813899563badc42"><div class="ttname"><a href="group___g_a04.html#ga1675e3100bba495bc813899563badc42">AKC695X::getFrequency</a></div><div class="ttdeci">uint16_t getFrequency()</div><div class="ttdoc">Returns the current frequency value.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:757</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_ad2f186761707da928b665e01cf172074"><div class="ttname"><a href="_a_k_c695_x_8h.html#ad2f186761707da928b665e01cf172074">REG22</a></div><div class="ttdeci">#define REG22</div><div class="ttdef"><b>Definition:</b> AKC695X.h:87</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a6eeb46370dd33c3336d4a228a61c4f12"><div class="ttname"><a href="class_a_k_c695_x.html#a6eeb46370dd33c3336d4a228a61c4f12">AKC695X::volume</a></div><div class="ttdeci">uint8_t volume</div><div class="ttdoc">Store the current volume.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:445</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a09a3d3fef9f53f0dbe1dd0072f02c1d4"><div class="ttname"><a href="_a_k_c695_x_8h.html#a09a3d3fef9f53f0dbe1dd0072f02c1d4">REG02</a></div><div class="ttdeci">#define REG02</div><div class="ttdef"><b>Definition:</b> AKC695X.h:73</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a3c7d7b2a13c51ef791df48aa7f368d4c"><div class="ttname"><a href="class_a_k_c695_x.html#a3c7d7b2a13c51ef791df48aa7f368d4c">AKC695X::currentStep</a></div><div class="ttdeci">uint16_t currentStep</div><div class="ttdoc">Strore the current step.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:446</div></div>
<div class="ttc" id="agroup___g_a01_html_aa8de9bc3c9fa44a077da80956afd40b1"><div class="ttname"><a href="group___g_a01.html#aa8de9bc3c9fa44a077da80956afd40b1">akc595x_reg1::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:138</div></div>
<div class="ttc" id="agroup___g_a01_html_acdef99156cbb020c53d1267b977a5c2f"><div class="ttname"><a href="group___g_a01.html#acdef99156cbb020c53d1267b977a5c2f">akc595x_reg25::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:400</div></div>
<div class="ttc" id="agroup___g_a03_a_html_gad7c2f47bcbd005d01a813963745a6f97"><div class="ttname"><a href="group___g_a03_a.html#gad7c2f47bcbd005d01a813963745a6f97">AKC695X::isFmStereo</a></div><div class="ttdeci">bool isFmStereo()</div><div class="ttdoc">Gets the current FM stereo status.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:314</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_abb215e8e082a207ca359cf474bbb4935"><div class="ttname"><a href="_a_k_c695_x_8h.html#abb215e8e082a207ca359cf474bbb4935">CRYSTAL_32KHZ</a></div><div class="ttdeci">#define CRYSTAL_32KHZ</div><div class="ttdef"><b>Definition:</b> AKC695X.h:27</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_abf560269d5467dbaf2472804397245f7"><div class="ttname"><a href="class_a_k_c695_x.html#abf560269d5467dbaf2472804397245f7">AKC695X::currentCrystalType</a></div><div class="ttdeci">uint8_t currentCrystalType</div><div class="ttdoc">Store the crystal type used: 0 = 12MHz; 1 = 32.768KHz.</div><div class="ttdef"><b>Definition:</b> AKC695X.h:449</div></div>
<div class="ttc" id="agroup___g_a03_html_gaaa883afce133a14c97aa938a60b41e0a"><div class="ttname"><a href="group___g_a03.html#gaaa883afce133a14c97aa938a60b41e0a">AKC695X::setup</a></div><div class="ttdeci">void setup(int reset_pin)</div><div class="ttdoc">Receiver startup.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:92</div></div>
<div class="ttc" id="agroup___g_a01_html_ga3d85865e7c11161e222ed157c4e2d169"><div class="ttname"><a href="group___g_a01.html#ga3d85865e7c11161e222ed157c4e2d169">akc595x_reg21</a></div><div class="ttdeci">uint8_t akc595x_reg21</div><div class="ttdoc">Reg21 (type 0x15 / R)</div><div class="ttdef"><b>Definition:</b> AKC695X.h:335</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga4d47df4b9fca04ca1fd4a38b9e6891a0"><div class="ttname"><a href="group___g_a03_a.html#ga4d47df4b9fca04ca1fd4a38b9e6891a0">AKC695X::setFmBandwidth</a></div><div class="ttdeci">void setFmBandwidth(uint8_t value)</div><div class="ttdoc">Sets the FM Bandwidth</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:385</div></div>
<div class="ttc" id="agroup___g_a04_html_gaf8351a39885da7e518e6fc5208c801c7"><div class="ttname"><a href="group___g_a04.html#gaf8351a39885da7e518e6fc5208c801c7">AKC695X::frequencyUp</a></div><div class="ttdeci">void frequencyUp()</div><div class="ttdoc">Adds the current step to the current frequency and sets the new frequency.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:767</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_ab7cd32a73bfe5345422dbebcd6b54ca7"><div class="ttname"><a href="class_a_k_c695_x.html#ab7cd32a73bfe5345422dbebcd6b54ca7">AKC695X::deviceAddress</a></div><div class="ttdeci">int deviceAddress</div><div class="ttdef"><b>Definition:</b> AKC695X.h:442</div></div>
<div class="ttc" id="agroup___g_a03_html_ga943ec28389bad1988124dd0f04c9b687"><div class="ttname"><a href="group___g_a03.html#ga943ec28389bad1988124dd0f04c9b687">AKC695X::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">Resets the system.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:29</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_afc04faecdab9e0d1751466b6c53fdaf1"><div class="ttname"><a href="_a_k_c695_x_8h.html#afc04faecdab9e0d1751466b6c53fdaf1">REG01</a></div><div class="ttdeci">#define REG01</div><div class="ttdef"><b>Definition:</b> AKC695X.h:72</div></div>
<div class="ttc" id="agroup___g_a03_html_gaf156fb3c65b4bfc68a977f4586ae23a6"><div class="ttname"><a href="group___g_a03.html#gaf156fb3c65b4bfc68a977f4586ae23a6">AKC695X::powerOn</a></div><div class="ttdeci">void powerOn(uint8_t fm_en, uint8_t tune, uint8_t mute, uint8_t seek, uint8_t seekup)</div><div class="ttdoc">Power the device on.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:108</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a375ba4a968253cd1628914e7e6ebc40e"><div class="ttname"><a href="_a_k_c695_x_8h.html#a375ba4a968253cd1628914e7e6ebc40e">CURRENT_MODE_FM</a></div><div class="ttdeci">#define CURRENT_MODE_FM</div><div class="ttdef"><b>Definition:</b> AKC695X.h:24</div></div>
<div class="ttc" id="agroup___g_a04_html_ga0401dca3302ebfe9f35c215bb0a76364"><div class="ttname"><a href="group___g_a04.html#ga0401dca3302ebfe9f35c215bb0a76364">AKC695X::setCustomBand</a></div><div class="ttdeci">void setCustomBand(uint16_t minimum_frequency, uint16_t maximum_frequency)</div><div class="ttdoc">Sets the start and end frequencies for a custom band.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:436</div></div>
<div class="ttc" id="agroup___g_a04_html_gaabe4bb9635ae8a7b53a5fd48b98d6339"><div class="ttname"><a href="group___g_a04.html#gaabe4bb9635ae8a7b53a5fd48b98d6339">AKC695X::setFmSeekStep</a></div><div class="ttdeci">void setFmSeekStep(uint8_t value)</div><div class="ttdoc">Sets FM step for seeking.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:629</div></div>
<div class="ttc" id="agroup___g_a04_html_ga0ff5be517897a239d2eba9869e1d2591"><div class="ttname"><a href="group___g_a04.html#ga0ff5be517897a239d2eba9869e1d2591">AKC695X::setAudio</a></div><div class="ttdeci">void setAudio(uint8_t phase_inv, uint8_t line, uint8_t volume)</div><div class="ttdoc">Configures the audio output.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:794</div></div>
<div class="ttc" id="agroup___g_a03_html_ga771f5b0ed1750f9b221f5240d3301d5a"><div class="ttname"><a href="group___g_a03.html#ga771f5b0ed1750f9b221f5240d3301d5a">AKC695X::getRegister</a></div><div class="ttdeci">uint8_t getRegister(uint8_t reg)</div><div class="ttdoc">Gets a given register content.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:147</div></div>
<div class="ttc" id="agroup___g_a01_html_aa8215ef76e670010c1490287f83ed483"><div class="ttname"><a href="group___g_a01.html#aa8215ef76e670010c1490287f83ed483">akc595x_reg9::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:247</div></div>
<div class="ttc" id="agroup___g_a03_a_html_gac0bb41042eb94f538a9d5d97f5a16648"><div class="ttname"><a href="group___g_a03_a.html#gac0bb41042eb94f538a9d5d97f5a16648">AKC695X::getCurrentChannel</a></div><div class="ttdeci">uint16_t getCurrentChannel()</div><div class="ttdoc">Gets the current channel.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:233</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a748ad53bef975af9c1edbcacc58e5be4"><div class="ttname"><a href="_a_k_c695_x_8h.html#a748ad53bef975af9c1edbcacc58e5be4">REG00</a></div><div class="ttdeci">#define REG00</div><div class="ttdef"><b>Definition:</b> AKC695X.h:71</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_aebe4c56e74422775554083129f27004f"><div class="ttname"><a href="class_a_k_c695_x.html#aebe4c56e74422775554083129f27004f">AKC695X::fmCurrentBand</a></div><div class="ttdeci">uint8_t fmCurrentBand</div><div class="ttdef"><b>Definition:</b> AKC695X.h:458</div></div>
<div class="ttc" id="agroup___g_a04_html_ga735ce923f793b2cc437ff4c09cd4f026"><div class="ttname"><a href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">AKC695X::commitTune</a></div><div class="ttdeci">void commitTune()</div><div class="ttdoc">Sets the STC bit to high when the tune operation completes.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:404</div></div>
<div class="ttc" id="aclass_a_k_c695_x_html_a017b74af1d64d66542ecad53f2b425a7"><div class="ttname"><a href="class_a_k_c695_x.html#a017b74af1d64d66542ecad53f2b425a7">AKC695X::currentBandMaximumFrequency</a></div><div class="ttdeci">uint16_t currentBandMaximumFrequency</div><div class="ttdef"><b>Definition:</b> AKC695X.h:455</div></div>
<div class="ttc" id="agroup___g_a03_a_html_ga62a70a5191c3e56dfa6cc51c314bc210"><div class="ttname"><a href="group___g_a03_a.html#ga62a70a5191c3e56dfa6cc51c314bc210">AKC695X::channelToFrequency</a></div><div class="ttdeci">uint16_t channelToFrequency()</div><div class="ttdoc">Converts the channel stored in the registers 20 and 21 to frequency.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:257</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_a2e437b34d319df42f92633627f92e9f2"><div class="ttname"><a href="_a_k_c695_x_8h.html#a2e437b34d319df42f92633627f92e9f2">REG20</a></div><div class="ttdeci">#define REG20</div><div class="ttdef"><b>Definition:</b> AKC695X.h:85</div></div>
<div class="ttc" id="agroup___g_a01_html_aadf07dad5a218aaf1a1879168a1a4c33"><div class="ttname"><a href="group___g_a01.html#aadf07dad5a218aaf1a1879168a1a4c33">akc595x_reg6::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:193</div></div>
<div class="ttc" id="agroup___g_a01_html_gab608542d70358eddcde54768d0847edd"><div class="ttname"><a href="group___g_a01.html#gab608542d70358eddcde54768d0847edd">akc595x_reg26</a></div><div class="ttdeci">uint8_t akc595x_reg26</div><div class="ttdoc">Reg26 (type 0x1A / R)</div><div class="ttdef"><b>Definition:</b> AKC695X.h:410</div></div>
<div class="ttc" id="a_a_k_c695_x_8h_html_ac5641e8e0c3254714bcd533a4b0111ca"><div class="ttname"><a href="_a_k_c695_x_8h.html#ac5641e8e0c3254714bcd533a4b0111ca">REG06</a></div><div class="ttdeci">#define REG06</div><div class="ttdef"><b>Definition:</b> AKC695X.h:77</div></div>
<div class="ttc" id="agroup___g_a03_html_gaffff7bd58909a00d6a461f4a325ab396"><div class="ttname"><a href="group___g_a03.html#gaffff7bd58909a00d6a461f4a325ab396">AKC695X::setRegister</a></div><div class="ttdeci">void setRegister(uint8_t reg, uint8_t parameter)</div><div class="ttdoc">Sets a given register with a given value.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:131</div></div>
<div class="ttc" id="agroup___g_a01_html_a69492e94019f64dbfa51040914da5d81"><div class="ttname"><a href="group___g_a01.html#a69492e94019f64dbfa51040914da5d81">akc595x_reg0::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:122</div></div>
<div class="ttc" id="agroup___g_a01_html_a994238e0370595d97063b101d960b894"><div class="ttname"><a href="group___g_a01.html#a994238e0370595d97063b101d960b894">akc595x_reg23::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:366</div></div>
<div class="ttc" id="agroup___g_a04_html_ga8526d91de9d635764fbba4f6ce1fa7d9"><div class="ttname"><a href="group___g_a04.html#ga8526d91de9d635764fbba4f6ce1fa7d9">AKC695X::setVolumeUp</a></div><div class="ttdeci">void setVolumeUp()</div><div class="ttdoc">Increments the audio volume.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:844</div></div>
<div class="ttc" id="agroup___g_a01_html_ab8a46f2282e07caf03adaf6d05613965"><div class="ttname"><a href="group___g_a01.html#ab8a46f2282e07caf03adaf6d05613965">akc595x_reg2::raw</a></div><div class="ttdeci">uint8_t raw</div><div class="ttdef"><b>Definition:</b> AKC695X.h:160</div></div>
<div class="ttc" id="agroup___g_a03_a_html_gadade5cf9f5df5fa14917b3cb6bedd187"><div class="ttname"><a href="group___g_a03_a.html#gadade5cf9f5df5fa14917b3cb6bedd187">AKC695X::getAmCarrierNoiseRatio</a></div><div class="ttdeci">uint8_t getAmCarrierNoiseRatio()</div><div class="ttdoc">Gets the current AM carrier to noise ratio.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:284</div></div>
<div class="ttc" id="agroup___g_a04_html_gafa446d042f11dd32356d2e95eae9f8cf"><div class="ttname"><a href="group___g_a04.html#gafa446d042f11dd32356d2e95eae9f8cf">AKC695X::setAudio</a></div><div class="ttdeci">void setAudio()</div><div class="ttdoc">Configures the audio output with default values.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:813</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_7d07f8d2761e9b5b89379cdb2143e43e.html">AKC695X</a></li><li class="navelem"><a class="el" href="_a_k_c695_x_8h.html">AKC695X.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
